Skip to main content

How to Install cPanelWHM in Almalinux 8

Cat

Hi everyone, I’m Nowmi, and today I will be guiding you through installing cPanel on AlmaLinux 8. This tutorial will demonstrate how to install cPanel WHM and access it on your server's dedicated IP address through the command line. Following all the steps is recommended to avoid any potential issues.

Why AlmaLinux 8?​

AlmaLinux OS 8, developed by CloudLinux and the community, is an excellent choice for installing cPanel. It is based on RHEL 8 and offers long-term support until 2029.

Minimum Resource Requirement To Install cPanel On AlmaLinux​

  • Cheap Linux VPS With AlmaLinux 8 Operating System
  • 1 GB RAM
  • 1 core CPU 1.1 GHz
  • 20 GB Storage
  • Static IPv4

Pre-Requirements Of cPanel Installation On AlmaLinux​

  1. Update AlmaLinux 8:

    yum update -y
  2. Disable OS Firewall:

    iptables-save > ~/firewall.rules
    systemctl stop firewalld.service
    systemctl disable firewalld.service
  3. Disable SELinux:

    • Open /etc/selinux/config with a text editor.
    • Change SELINUX=enforcing to SELINUX=disabled.
    • Reboot the server.
  4. Installing Perl:

    yum install perl
  5. Installing Curl:

    yum install curl
  6. Add Hostname:

    hostnamectl set-hostname myeserver.mydomain.com

Installing cPanel With Trial License On AlmaLinux 8​

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

Now, you've successfully installed cPanel/WHM on AlmaLinux!

Cat